package com.jixiang.tracedata.model.traveller;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

import java.io.Serializable;

/**
 * @author quanbiao
 * @date 2018-08-31
 */
@XStreamAlias("Tax")
public class Tax implements Serializable {

    private static final long serialVersionUID = -6517443544854902903L;

    @XStreamAsAttribute()
    private String Nature;

    @XStreamAsAttribute()
    private String Amount;

    @XStreamAsAttribute()
    private String NumberOfDecimals;

    @XStreamAsAttribute()
    private String CurrencyCode;

    public String getNature() {
        return Nature;
    }

    public void setNature(String nature) {
        Nature = nature;
    }

    public String getAmount() {
        return Amount;
    }

    public void setAmount(String amount) {
        Amount = amount;
    }

    public String getNumberOfDecimals() {
        return NumberOfDecimals;
    }

    public void setNumberOfDecimals(String numberOfDecimals) {
        NumberOfDecimals = numberOfDecimals;
    }

    public String getCurrencyCode() {
        return CurrencyCode;
    }

    public void setCurrencyCode(String currencyCode) {
        CurrencyCode = currencyCode;
    }

    @Override
    public String toString() {
        return "{" +
                "Nature:" + Nature + 
                ", Amount:" + Amount + 
                ", NumberOfDecimals:" + NumberOfDecimals + 
                ", CurrencyCode:" + CurrencyCode + 
                '}';
    }
}
